//
//  HNSH_XJDRFooter.m
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/6/15.
//

#import "HNSH_XJDRFooter.h"

@implementation HNSH_XJDRFooter

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.clipsToBounds = YES;
        self.backgroundColor = [UIColor whiteColor];
        [self configUI];
    }
    return self;
}

- (void)configUI {
    
    UIView *bgView = [[UIView alloc]initWithFrame:CGRectMake(16, 00, kScreenWidth-32, 48)];
    bgView.backgroundColor = [UIColor colorWithHexString:@"#F8F8F8"];
    [self addSubview:bgView];
    [self clipCornerWithView:bgView cornerWidth:8 cornerType:UIRectCornerBottomLeft|UIRectCornerBottomRight];
    
    UILabel *cellTtitleLabel = [[UILabel alloc]initWithFrame:CGRectMake(16, 15, bgView.width-32, 17)];
    cellTtitleLabel.text = @"";
    cellTtitleLabel.textColor = [UIColor colorWithHexString:@"#FB6F1C"];
    cellTtitleLabel.font = [UIFont systemFontOfSize:12];
    [bgView addSubview:cellTtitleLabel];
    self.titleLabel = cellTtitleLabel;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
